<?php
require 'include/global.php';
require_once 'include/train_db.php';
$smarty->compile_check = true;

$tid = $_GET[tid];
$sql    = "SELECT * FROM `pa_training` WHERE `tr_id`='".$tid."'";
$trainingdetail[]    = $DB->fetch_one_array($sql);
//print_r($trainingdetail);

$smarty->assign("traindeldb",$trainingdetail);


$smarty->display('header.tpl');
$smarty->display('left.tpl');
$smarty->display('trainingdetail.tpl');
$smarty->display('right.tpl');
$smarty->display('footer.tpl');


?>
